package com.ysu.zyw.common.constant;

/**
 * SystemConst represent for this system or framework constant.
 * <p>
 * Created by ZeRur on 2016/1/17.
 *
 * @author yaowu.zhang
 */
public interface SystemConst {

    interface CacheNames {

        String ACTIVE_SESSIONS_CACHE_NAME = "active-sessions-cache-name";

        String ACTIVE_SESSIONS_CACHE_PREFIX = "SESSION_";

        String AUTHENTICATION_CACHE_NAME = "authentication-cache-name";

        String AUTHENTICATION_CACHE_PREFIX = "AUTHENTICATION_";

        String AUTHORIZATION_CACHE_NAME = "authorization-cache-name";

        String AUTHORIZATION_CACHE_PREFIX = "AUTHORIZATION_";

    }

    interface DataSourceNames {

        String APPROVAL_DATA_SOURCE_NAME = "approvalDataSource";

        String COMMODITY_DATA_SOURCE_NAME = "commodityDataSource";

        String COMMON_DATA_SOURCE_NAME = "commonDataSource";

        String CORE_DATA_SOURCE_NAME = "coreDataSource";

        String ORDER_DATA_SOURCE_NAME = "orderDataSource";

    }

}
